package com.lai.common.constant;

import lombok.Data;
import lombok.Getter;

public class ThirdPartyConstant {



    public enum Captcha{

        CAPTCHA_ERROR_APPID(1001,"错误的APPID"),
        CAPTCHA_ERROR_SIGN(1002,"签名错误"),
        CAPTCHA_ERROR_TOKEN(1003,"token不合法或者已经过期"),
        CAPTCHA_ERROR_PARAMETER(1004,"参数错误"),
        CAPTCHA_ERROR_IP(1005,"token产生的ip和业务请求ip不一致");


        @Getter
        private int code;
        @Getter
        private String msg;

        Captcha(int code,String msg){
            this.code = code;
            this.msg = msg;
        }




    }


}
